﻿package org.aquiferserver.client.flex
{
	import org.aquiferserver.common.Player;
	
	/**
	 * ...
	 * @author Seth Albanese
	 * @version $Id: GameState.as 60 2009-06-15 08:47:09Z salbanese0080@gmail.com $
	 */
	public interface GameState 
	{
		function setProperty( prop:String, val:Object ) : void;
		function getProperty( prop:String ) : Object;
		function deleteProperty( prop:String ) : Object;
		function getPropertyList() : Array;
		
		function get peers() : Array;
		function set peers( peers:Array ) : void;
		function addPeer( p:Player ) : void;
		function removePeer( p:Player ) : void;
		
		function set id( id:int ) : void;
		function get id() : int;
		
		function set localPlayer( p:Player ) : void;
		function get localPlayer( ) : Player;
	}
	
}